package org.power.bus.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("temperature")
@ApiModel(value = "Temperature对象", description = "温度表")
public class Temperature implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "temperature_id", type = IdType.AUTO)
    @ApiModelProperty(value = "温度表ID")
    private Integer temperatureId;

    @TableField(value = "type")
    @ApiModelProperty(value = "识别类型")
    private String type;

    @TableField(value = "equipment_name")
    @ApiModelProperty(value = "设备名称")
    private String equipmentName;

    @TableField(value = "equipment_temperature")
    @ApiModelProperty(value = "设备温度")
    private String equipmentTemperature;

    @TableField(value = "alarm_level")
    @ApiModelProperty(value = "告警等级")
    private String alarmLevel;

    @TableField(value = "estimation_reason")
    @ApiModelProperty(value = "判据信息")
    private String estimationReason;

    @TableField(value = "check_time")
    @ApiModelProperty(value = "检测时间")
    private String checkTime;

    @TableField(value = "voltage_level")
    @ApiModelProperty(value = "电压等级")
    private String voltageLevel;

    @TableField(value = "interval_unit")
    @ApiModelProperty(value = "间隔单元")
    private String intervalUnit;

    @TableField(value = "equipment_type")
    @ApiModelProperty(value = "设备类型")
    private String equipmentType;

    @TableField(value = "phase")
    @ApiModelProperty(value = "相别：A、B、C")
    private String phase;

    @TableField(value = "env_temperature")
    @ApiModelProperty(value = "环境温度")
    private String envTemperature;

    @TableField(value = "humidity")
    @ApiModelProperty(value = "环境湿度")
    private String humidity;

    @TableField(value = "wind_speed")
    @ApiModelProperty(value = "风速")
    private String windSpeed;

    @TableField(value = "wind_direction")
    @ApiModelProperty(value = "风向")
    private String windDirection;

    @TableField(value = "atmospheric_pressure")
    @ApiModelProperty(value = "气压")
    private String atmosphericPressure;

    @TableField(value = "check_distance")
    @ApiModelProperty(value = "检测距离")
    private Double checkDistance;

    @TableField(value = "load_current")
    @ApiModelProperty(value = "负载电流")
    private String loadCurrent;

    @TableField(value = "pantilt_location")
    @ApiModelProperty(value = "云台方位")
    private String pantiltLocation;

    @TableField(value = "device_number")
    @ApiModelProperty(value = "机号")
    private String deviceNumber;

    @TableField(value = "equipment_id")
    @ApiModelProperty(value = "设备主键ID")
    private Integer equipmentId;
}
